package com.qiguliuxing.dts.common.constant;

/**
 * 优惠券相关的常量定义
 *
 * @author qiguliuxing
 * @since 1.0.0
 */
public interface CouponConsts {

	public static final Short TYPE_COMMON = 0;
	public static final Short TYPE_REGISTER = 1;
	public static final Short TYPE_CODE = 2;

	public static final Short GOODS_TYPE_ALL = 0;
	public static final Short GOODS_TYPE_CATEGORY = 1;
	public static final Short GOODS_TYPE_ARRAY = 2;

	/**
	 * 正常状态
	 */
	public static final Short STATUS_NORMAL = 0;

	/**
	 * 过期状态
	 */
	public static final Short STATUS_EXPIRED = 1;

	/**
	 * 优惠券已下架
	 */
	public static final Short STATUS_OUT = 2;

	/**
	 * 优惠券本身无时间限制
	 */
	public static final Short TIME_TYPE_DAYS = 0;

	/**
	 * 优惠券本身有时间限制
	 */
	public static final Short TIME_TYPE_TIME = 1;
}
